package com.zmsk.zmio.handler;

import android.content.Context;
import android.util.Log;

import com.zmsk.zmio.inter.IIOHandler;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;

import hdx.HdxUtil;

public class GC082Handler implements IIOHandler {

    private static final String TAG = "GC082Handler";

    public GC082Handler() {

    }

    @Override
    public void initIOControl(Context context) {

    }

    @Override
    public void stopIOControl(Context context) {

    }

    @Override
    public void noticeGateOpen(Context context, String idNumber) {

    }

    @Override
    public void noticeGateClose(Context context) {
    }

    @Override
    public void noticeWhiteLedOn(Context context) {
        HdxUtil.SetCameraBacklightness(10);
    }

    @Override
    public void noticeWhiteLedOff(Context context) {
        HdxUtil.SetCameraBacklightness(0);
    }

    @Override
    public void noticeInfraredLedOn(Context context) {
    }

    @Override
    public void noticeInfraredLedOff(Context context) {
    }

    @Override
    public void noticeRedLedOn(Context context) {

    }

    @Override
    public void noticeRedLedOff(Context context) {

    }

    @Override
    public void noticeGreenLedOn(Context context) {

    }

    @Override
    public void noticeGreenLedOff(Context context) {

    }

    @Override
    public void handleSlientInstall(String path) {
        
    }

}
